<%= render :partial => 'back_button' %>

<%= render :partial => 'print_report' %>

<%= render :partial => 'browse_reports', :locals => {:report_response => @report_response} %>

<div class="reference"><span><%= _('References:') %></span><%= _('Yes:') %> <img src="/images/circ_y.gif" />&nbsp;&nbsp;<%= _('No:') %> <img src="/images/circ_n.gif" /></div>

<div id="maintable">
    <table class="xbtable_finished" cellpadding="0" cellspacing="0">
 
		<% @report_response.report.groupings.reject {|x| x.strategy.nil?}.each do |group| %>
			<%= render :partial => "cc_view_headers", :locals => {:report_response => @report_response} %>
		
        	<tr class="trstrategy">
        		<td class="col1"><%= group.text %></td>
				<td class="col2"></td>
	            <% @report_response.owner_role.coordinated_xbs.each do |xb| %>
	            	<td class="col2"></td>
	        	<% end %>
				<td class="col2"></td>
	        </tr>
	        <% group.questions_for_role(@report_response.owner_role).each do |question| %>
				<%= render :partial => "question_#{question.kind}_cc_view",
						   :locals => {:question => question, :report_response => @report_response, :xb_summary => @xb_summary, :group => group} %>
	        <% end %>
        <% end %>
    </table>
</div> <!--/maintable-->

<br/>

<div id = "HistoryLog">
    <%= render :partial => 'history_log', :object => @report_response %>
</div>